package com.hsgene.order.dto.details;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * 主订单信息
 *
 * @author wxf
 * @date 2018/8/28 10:54
 **/
public class MainOrderStatusInfo implements Serializable {

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 支付状态
     */
    private String paymentStatus;

    /**
     * 订单创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date orderCreateTime;
    /**
     * 订单状态描述
     */
    private String statusDesc;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public Date getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getStatusDesc() {
        return statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }
}
